package com.group.entity.wms;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.util.Date;

/**
 * 库区
 */
@TableName("wms_warehouse_area")
public class WarehouseAreaEntity {
    /**
     * 库区id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 仓库id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long warehouseId;
    /**
     * 库区名称
     */
    private String reservoirAreaName;

    /**
     * 库区货品分类数量
     */
    private Integer reservoirAreaTypeCount;
    /**
     * 创建者
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long createUser;
    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 状态
     */
    private Integer state;
    /**
     * 最后一次修改人
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long lastUpdateUser;

    /**
     * 最后一次修改时间
     */
    private Date lastUpdateTime;

    /**
     * 库区条码
     */
    private String reservoirAreaBarCod;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getReservoirAreaName() {
        return reservoirAreaName;
    }

    public void setReservoirAreaName(String reservoirAreaName) {
        this.reservoirAreaName = reservoirAreaName;
    }

    public Integer getReservoirAreaTypeCount() {
        return reservoirAreaTypeCount;
    }

    public void setReservoirAreaTypeCount(Integer reservoirAreaTypeCount) {
        this.reservoirAreaTypeCount = reservoirAreaTypeCount;
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(Long lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getReservoirAreaBarCod() {
        return reservoirAreaBarCod;
    }

    public void setReservoirAreaBarCod(String reservoirAreaBarCod) {
        this.reservoirAreaBarCod = reservoirAreaBarCod;
    }
}
